package com.bj58.mis.apm.server.statistics.dto.cube;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@ApiModel(description = "模型-关联表")
@Data
@AllArgsConstructor
public class Lookup {
    @ApiModelProperty(value = "表名")
    private String table;
    @ApiModelProperty(value = "别名")
    private String alias;
    @ApiModelProperty(value = "关联类型")
    private String joinType;

    @ApiModelProperty(value = "左表字段")
    private List<String> primaryKey;

    @ApiModelProperty(value = "右表字段")
    private List<String> foreignKey;

}
